<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<title>ScrollableView demo</title>
	<link href="../themes/iphone/iphone.css" rel="stylesheet">
	<style>
	html,body{
		height: 100%;
		overflow: hidden;
	}
	.list1 li{
		border-style: solid;
		border-width: 1px 0px 1px 0px;
		border-top-color: #BABABC;
		border-bottom-color: #89898C;
		background-color: #ACACAF;
		line-height: 0px;
	}
	.list1 li table{
		line-height: normal;
	}
	.list1 li:nth-child(even){
		background-color: #97979B;
	}
	#list2 li:nth-child(even){
		background-color: #eeeeee;
	}
	#categ1 {
		font-size: 18px;
	}
	#categ1 li{
		line-height: 70px;
	}
	.lnk {
		font-size: 14px;
		color: #0B5199;
		text-decoration: none;
	}
	.content {
		padding:0px 10px;
		background-color: white;
	}
	p {
		font-family: Helvetica;
		font-size: 12px;
	}
	.title {
		color: blue;
		margin-bottom: 4px;
	}
	.subtitle {
		font-style: italic;
		color: gray;
		margin: 0px;
		margin-bottom: 4px;
	}
	.subsubtitle {
		margin: 16px 0px 0px 0px;
	}
	.lst {
		margin: 0px;
		padding: 0px 14px;
	}
	.lst li {
		font-family: Helvetica;
		font-size: 12px;
		margin: 0px;
		list-style-type: square;
	}
	</style>
	<script type="text/javascript" src="../../../dojo/dojo.js" djConfig="parseOnLoad: true, mblAlwaysHideAddressBar: true"></script>

	<script language="JavaScript" type="text/javascript">
		//dojo.require("dojo.parser"); // Use the lightweight parser.
		dojo.require("dojox.mobile.parser");
		dojo.require("dojox.mobile");
		dojo.require("dojox.mobile.ScrollableView");
		dojo.require("dojox.mobile.TabBar");
		dojo.requireIf(!dojo.isWebKit, "dojox.mobile.compat");
		dojo.requireIf(!dojo.isWebKit, "dojo.fx");
		dojo.requireIf(!dojo.isWebKit, "dojo.fx.easing");
	</script>
</head>
<body>
	<div id="group1" dojoType="dojox.mobile.View" selected="true">
		<ul dojoType="dojox.mobile.TabBar" barType="segmentedControl" fixed="top">
			<li dojoType="dojox.mobile.TabBarButton" icon1="images/tab-icon-16.png" icon2="images/tab-icon-16h.png" moveTo="view1" selected="true">New</li>
			<li dojoType="dojox.mobile.TabBarButton" icon1="images/tab-icon-15.png" icon2="images/tab-icon-15h.png" moveTo="view2">What's Hot</li>
			<li dojoType="dojox.mobile.TabBarButton" icon1="images/tab-icon-10.png" icon2="images/tab-icon-10h.png" moveTo="view3">Genius</li>
		</ul>

		<div id="view1" dojoType="dojox.mobile.ScrollableView" selected="true">
			<ul dojoType="dojox.mobile.EdgeToEdgeList" class="list1">
				<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size: 10px;">
					<table>
						<tbody>
							<tr>
								<td>
									<img src="images/icon-1.png">
								</td>
								<td>
									<a class="lnk" href="#">Dojo: Traditional Karate-do Spirit</a><br>
									Sarah Connor Hardcover<br>
									Eligible for FREE Super Saver Shipping
								</td>
							</tr>
						</tbody>
					</table>
				</li>
				<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size: 10px;">
					<table>
						<tbody>
							<tr>
								<td>
									<img src="images/icon-1.png">
								</td>
								<td>
									<a class="lnk" href="#">Japanese Martial Arts Dojo</a><br>
									Martin Parker Hardcover<br>
									Eligible for FREE Super Saver Shipping<br>
								</td>
							</tr>
						</tbody>
					</table>
				</li>
				<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size: 10px;">
					<table>
						<tbody>
							<tr>
								<td>
									<img src="images/icon-1.png">
								</td>
								<td>
									<a class="lnk" href="#">Total Solar Eclipse</a><br>
									Steven Young Hardcover<br>
									Eligible for FREE Super Saver Shipping<br>
								</td>
							</tr>
						</tbody>
					</table>
				</li>
				<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size: 10px;">
					<table>
						<tbody>
							<tr>
								<td>
									<img src="images/icon-1.png">
								</td>
								<td>
									<a class="lnk" href="#">The History of Java Coffee</a><br>
									Marco Rodriguez Hardcover<br>
									Eligible for FREE Super Saver Shipping<br>
								</td>
							</tr>
						</tbody>
					</table>
				</li>
				<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size: 10px;">
					<table>
						<tbody>
							<tr>
								<td>
									<img src="images/icon-1.png">
								</td>
								<td>
									<a class="lnk" href="#">The Principles of Spider's Web</a><br>
									Melissa Morgan Hardcover<br>
									Eligible for FREE Super Saver Shipping<br>
								</td>
							</tr>
						</tbody>
					</table>
				</li>
			</ul>
		</div>

		<div id="view2" dojoType="dojox.mobile.ScrollableView">
			<ul dojoType="dojox.mobile.EdgeToEdgeList" id="list2">
				<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size: 10px;">
					<table>
						<tbody>
							<tr>
								<td>
									<img src="images/a-icon-2-41x41.png">
								</td>
								<td>
									<a class="lnk" href="#">The Principles of Spider's Web</a><br>
									Melissa Morgan Hardcover<br>
									Eligible for FREE Super Saver Shipping<br>
								</td>
							</tr>
						</tbody>
					</table>
				</li>
				<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size: 10px;">
					<table>
						<tbody>
							<tr>
								<td>
									<img src="images/a-icon-2-41x41.png">
								</td>
								<td>
									<a class="lnk" href="#">The History of Java Coffee</a><br>
									Marco Rodriguez Hardcover<br>
									Eligible for FREE Super Saver Shipping<br>
								</td>
							</tr>
						</tbody>
					</table>
				</li>
				<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size: 10px;">
					<table>
						<tbody>
							<tr>
								<td>
									<img src="images/a-icon-2-41x41.png">
								</td>
								<td>
									<a class="lnk" href="#">Dojo: Traditional Karate-do Spirit</a><br>
									Sarah Connor Hardcover<br>
									Eligible for FREE Super Saver Shipping
								</td>
							</tr>
						</tbody>
					</table>
				</li>
				<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size: 10px;">
					<table>
						<tbody>
							<tr>
								<td>
									<img src="images/a-icon-2-41x41.png">
								</td>
								<td>
									<a class="lnk" href="#">Total Solar Eclipse</a><br>
									Steven Young Hardcover<br>
									Eligible for FREE Super Saver Shipping<br>
								</td>
							</tr>
						</tbody>
					</table>
				</li>
			</ul>
		</div>

		<div id="view3" dojoType="dojox.mobile.ScrollableView">
			<h2 dojoType="dojox.mobile.RoundRectCategory">Generic Mobile Device</h2>
			<ul dojoType="dojox.mobile.RoundRectList">
				<li dojoType="dojox.mobile.ListItem" rightText="AcmePhone">
					Network											   
				</li>												   
				<li dojoType="dojox.mobile.ListItem" rightText="AcmePhone">
					Line
				</li>
				<li dojoType="dojox.mobile.ListItem" rightText="1024">
					Songs
				</li>
				<li dojoType="dojox.mobile.ListItem" rightText="10">
					Videos
				</li>
				<li dojoType="dojox.mobile.ListItem" rightText="96">
					Photos
				</li>
				<li dojoType="dojox.mobile.ListItem" rightText="2">
					Applications
				</li>
				<li dojoType="dojox.mobile.ListItem" rightText="29.3 BG">
					Capacity
				</li>
				<li dojoType="dojox.mobile.ListItem" rightText="28.0 BG">
					Available
				</li>
				<li dojoType="dojox.mobile.ListItem" rightText="3.0 (7A341)">
					Version
				</li>
			</ul>
		</div>
	</div>

	<div id="categ" dojoType="dojox.mobile.ScrollableView">
		<h1 dojoType="dojox.mobile.Heading" fixed="top">Categories</h1>
		<ul dojoType="dojox.mobile.EdgeToEdgeList" class="list1" id="categ1">
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">Category 1</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">Category 2</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">Category 3</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">Category 4</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">Category 5</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">Category 6</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">Category 7</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">Category 8</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">Category 9</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">Category 10</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">Category 11</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">Category 12</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">Category 13</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">Category 14</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">Category 15</li>
		</ul>
	</div>

	<div id="top25" dojoType="dojox.mobile.ScrollableView">
		<h1 dojoType="dojox.mobile.Heading" fixed="top">News</h1>
		<h2 dojoType="dojox.mobile.RoundRectCategory">Top Stories</h2>
		<ul dojoType="dojox.mobile.RoundRectList">
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">
				Top 10 news stories of the decade
			</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">
				Create client-side diagrammatic interaction in Web applications with GFX
			</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem">
				Explores advanced topics in the new Java framework for implementing and consuming REST-based Web services, Part 3
			</li>
		</ul>
	</div>

	<div id="search" dojoType="dojox.mobile.ScrollableView">
		<h1 dojoType="dojox.mobile.Heading" fixed="top">Search Result</h1>
		<ul dojoType="dojox.mobile.RoundRectList">
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size:10px">
				1. <a href="#" class="lnk">Dojo: Traditional Karate-do Spirit</a><br>
				Sarah Connor Hardcover<br>
				Eligible for FREE Super Saver Shipping<br>
				<font color="red">$14.50 (50%)</font> In Stock<br>
				# (531)
			</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size:10px">
				2. <a href="#" class="lnk">Japanese Martial Arts Dojo</a><br>
				Martin Parker Hardcover<br>
				<font color="red">$14.00 (60%)</font> In Stock<br>
				# (173)
			</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size:10px">
				3. <a href="#" class="lnk">Total Solar Eclipse</a><br>
				Steven Young Hardcover<br>
				Get it by Mar. 2 if you order in the next <font color="green"><b>16 hours</b></font><br>
				Eligible for FREE Super Saver Shipping<br>
				<font color="red">$9.50 (62%)</font> In Stock<br>
				# (1199)
			</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size:10px">
				4. <a href="#" class="lnk">The History of Java Coffee</a><br>
				Marco Rodriguez Hardcover<br>
				<font color="blue">Not Available</font>
			</li>
			<li class="mblVariableHeight" dojoType="dojox.mobile.ListItem" style="font-size:10px">
				5. <a href="#" class="lnk">The Principles of Spider's Web</a><br>
				Melissa Morgan Hardcover<br>
				Eligible for FREE Super Saver Shipping<br>
				<font color="red">$12.00 (60%)</font> In Stock<br>
				# (1847)
			</li>
		</ul>
	</div>

	<div id="article" dojoType="dojox.mobile.ScrollableView" style="background-color:white;height:100%">
		<h1 dojoType="dojox.mobile.Heading" fixed="top">Article</h1>
		<div class="content">
			<h3 class="title">Did you know?</h3>
			<h4 class="subtitle">Features of dojox.mobile</h4>
			<h5 class="subsubtitle">No images are used</h5>
			<ul class="lst">
			  	<li>UI parts consist of DOM and CSS3.</li>
				<li>Only application icons are images.</li>
			</ul>

			<h5 class="subsubtitle">Removed dependencies on the dojo modules as much as possible</h5>
			<ul class="lst">
			  	<li>No dependencies even on some of the essential core modules like Templated, Container, Contained, dojo.query, or dojo.parser.</li>
			</ul>

			<h5 class="subsubtitle">Support for CSS sprite</h5>
			<ul class="lst">
				<li>Application icon images can be aggregated into a single file to reduce the number of http requests.</li>
			</ul>

			<h5 class="subsubtitle">Possible to use the webkitMobile build option (when PC browser support is unnecessary)</h5>
			<ul class="lst">
				<li>Drops IE and Firefox-specific code at build time, and thus reduces the dojo core size</li>
			</ul>
		</div>
	</div>

	<ul dojoType="dojox.mobile.TabBar" fixed="bottom" style="border-bottom:none;">
		<li dojoType="dojox.mobile.TabBarButton" icon1="images/tab-icon-16.png" icon2="images/tab-icon-16h.png" selected="true" moveTo="group1">Featured</li>
		<li dojoType="dojox.mobile.TabBarButton" icon1="images/tab-icon-15.png" icon2="images/tab-icon-15h.png" moveTo="categ">Categories</li>
		<li dojoType="dojox.mobile.TabBarButton" icon1="images/tab-icon-10.png" icon2="images/tab-icon-10h.png" moveTo="top25">Top 25</li>
		<li dojoType="dojox.mobile.TabBarButton" icon1="images/tab-icon-11.png" icon2="images/tab-icon-11h.png" moveTo="search">Search</li>
		<li dojoType="dojox.mobile.TabBarButton" icon1="images/tab-icon-13.png" icon2="images/tab-icon-13h.png" moveTo="article">Updates</li>
	</ul>
</body>
</html>
